<template>
    <div class="page flex-col">


 

 <div class="van"> <van-tabs v-model="actiie" class="link box">
  <van-tab title="开盒的物">  <div class="image-text_1 flex-col justify-between" >
        <img
          class="image_2"
          referrerpolicy="no-referrer"
          src="https://lanhu.oss-cn-beijing.aliyuncs.com/psuphzxucfd6skngi91mq1d9p7i1pubnwkbdfe972eb-8cef-4547-91e3-b56ec8d6a8a4"
        />
        <span class="text-group_1">您的背包还没有开盒的物...</span>
      </div>
      <button class="button_1 flex-col" @click="onClick_1">
        <span class="text_4">去首页开盒</span></button
      ><span class="text_5">开盒的物是指在商城开盒所得的物品</span></van-tab>
  <van-tab title="置换的物">内容 2</van-tab>
  <van-tab title="星值的物">内容 3</van-tab>
  </van-tabs>
  </div>


     
      </div>
  
</template>

<script>
// import axios from "axios"
export default {

  data() {
    return {
      constants: {},
        actiie: 2,
    };
  },
  methods: {
    onClick_1() {
      this.$router.push('/home/homes')
    },
  },
};
</script>

<style lang="less" scoped>

/deep/.van-tab__text--ellipsis {
  overflow: inherit ;
  // font-size: 50px !importaZnt;
}
.van-tabs__line{
  margin-top: 0.2rem;
}
.van-tab{
  // height: 2rem;
}


.page {
  background-color: rgba(255, 255, 255, 1);
  position: relative;
  width: 7.5rem;
  height: 16.24rem;
  overflow: hidden;
}

.image_1 {
  width: 7.5rem;
  height: 0.88rem;
}

.group_1 {
  width: 7.5rem;
  height: 15.37rem;
  margin-bottom: 0.01rem;
  margin: 0;
  background-color: white;
}

.text-wrapper_1 {
  width: 6.56rem;
  height: 1.34rem;
  margin: 0.32rem 0 0 0.47rem;
  display: flex;
}

.text_1 {
  width: 1.4rem;
  height: 0.34rem;
  color: rgba(68, 67, 67, 1);
  font-size: 0.36rem;
  font-family: PingFangSC-Medium;
  text-align: center;
  white-space: nowrap;
  line-height: 0.36rem;
}

.text_2 {
  width: 1.4rem;
  height: 0.34rem;
  color: rgba(68, 67, 67, 1);
  font-size: 0.36rem;
  font-family: PingFangSC-Medium;
  text-align: center;
  white-space: nowrap;
  line-height: 0.36rem;
  margin-left: 0;
}

.text_3 {
  width: 1.39rem;
  height: 0.34rem;
  color: rgba(68, 67, 67, 1);
  font-size: 0.36rem;
  font-family: PingFangSC-Medium;
  text-align: center;
  white-space: nowrap;
  line-height: 0;
  /* margin-left: 0.59rem; */
}

.group_2 {
  background-image: linear-gradient(
    266deg,
    rgba(193, 191, 230, 1) 0,
    rgba(193, 191, 230, 1) 0,
    rgba(234, 136, 222, 1) 100%,
    rgba(234, 136, 222, 1) 100%
  );
  width: 0.33rem;
  height: 0.08rem;
  margin: 0.29rem 0 0 1.01rem;
}

.image-text_1 {
  width: 3.51rem;
  height: 3.45rem;
  margin: 1.86rem 0 0 1.9rem;
}

.image_2 {
  width: 3rem;
  height: 3rem;
  margin-left: 0.25rem;
}

.text-group_1 {
  width: 3.51rem;
  height: 0.29rem;
  color: rgba(153, 153, 153, 1);
  font-size: 0.3rem;
  text-align: center;
  white-space: nowrap;
  line-height: 0.3rem;
  margin-top: 0.16rem;
}

.button_1 {
  background-image: linear-gradient(
    -73deg,
    rgba(182, 220, 255, 1) 0,
    rgba(182, 220, 255, 1) 0,
    rgba(185, 182, 229, 1) 100%,
    rgba(185, 182, 229, 1) 100%
  );
  border-radius: 41px;
  height: 0.82rem;
  width: 2.7rem;
  margin: 0.46rem 0 0 2.3rem;
}

.text_4 {
  width: 1.68rem;
  height: 0.33rem;
  color: rgba(45, 50, 67, 1);
  font-size: 0.34rem;
  font-family: PingFangSC-Medium;
  text-align: center;
  white-space: nowrap;
  line-height: 0.34rem;
  margin: 0.24rem 0 0 0.51rem;
}

.text_5 {
  width: 4.13rem;
  height: 0.25rem;
  color: rgba(186, 185, 185, 1);
  font-size: 0.26rem;
  text-align: center;
  white-space: nowrap;
  line-height: 0.26rem;
  margin: 1.01rem 0 0 1.59rem;
}

.group_3 {
  width: 6.18rem;
  height: 0.76rem;
  margin: 5rem 0 0 0.63rem;
}

.image-text_2 {
  width: 0.5rem;
  height: 0.73rem;
  margin-top: 0.03rem;
}

.label_1 {
  width: 0.35rem;
  height: 0.32rem;
  margin-left: 0.07rem;
}

.text-group_2 {
  width: 0.5rem;
  height: 0.25rem;
  color: rgba(129, 129, 129, 1);
  font-size: 0.26rem;
  text-align: left;
  white-space: nowrap;
  line-height: 0.26rem;
  margin-top: 0.16rem;
}

.image-text_3 {
  width: 0.5rem;
  height: 0.74rem;
  margin: 0.02rem 0 0 1.31rem;
}

.label_2 {
  width: 0.33rem;
  height: 0.33rem;
  margin-left: 0.09rem;
}

.text-group_3 {
  width: 0.5rem;
  height: 0.25rem;
  color: rgba(129, 129, 129, 1);
  font-size: 0.26rem;
  text-align: left;
  white-space: nowrap;
  line-height: 0.26rem;
  margin-top: 0.16rem;
}

.image-text_4 {
  width: 0.76rem;
  height: 0.76rem;
  margin-left: 1.31rem;
}

.box_1 {
  width: 0.37rem;
  height: 0.35rem;
  background: url(https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/d195f4983c8f4510ab6733e5e7700a2e_mergeImage.png)
    100% no-repeat;
  background-size: 100% 100%;
  margin-left: 0.23rem;
}

.text-group_4 {
  width: 0.76rem;
  height: 0.25rem;
  color: rgba(0, 0, 0, 1);
  font-size: 0.26rem;
  font-family: PingFangSC-Medium;
  text-align: left;
  white-space: nowrap;
  line-height: 0.26rem;
  margin-top: 0.16rem;
}

.image-text_5 {
  width: 0.49rem;
  height: 0.73rem;
  margin: 0.03rem 0 0 1.31rem;
}

.label_3 {
  width: 0.32rem;
  height: 0.32rem;
  margin-left: 0.08rem;
}

.text-group_5 {
  width: 0.49rem;
  height: 0.25rem;
  color: rgba(129, 129, 129, 1);
  font-size: 0.26rem;
  text-align: left;
  white-space: nowrap;
  line-height: 0.26rem;
  margin-top: 0.16rem;
}

.group_4 {
  background-color: rgba(0, 0, 0, 1);
  border-radius: 6px;
  width: 2.7rem;
  height: 0.12rem;
  margin: 0.48rem 0 0.13rem 2.4rem;
}






body * {
  box-sizing: border-box;
  flex-shrink: 0;
  // font-size: 50px;
  // overflow:none;s
}
body {
  font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma,
    Arial, PingFang SC-Light, Microsoft YaHei;
}
button {
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  outline: none;
  background-color: transparent;
}

button:active {
  opacity: 0.6;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
.justify-start {
  display: flex;
  justify-content: flex-start;
}
.justify-center {
  display: flex;
  justify-content: center;
}

.justify-end {
  display: flex;
  justify-content: flex-end;
}
.justify-evenly {
  display: flex;
  justify-content: space-evenly;
}
.justify-around {
  display: flex;
  justify-content: space-around;
}
.justify-between {
  display: flex;
  justify-content: space-between;
  align-content: center;
}
.align-start {
  display: flex;
  align-items: flex-start;
}
.align-center {
  display: flex;
  align-items: center;
}
.align-end {
  display: flex;
  align-items: flex-end;
}


/* 自己写的代码 */
.toubu{
  width: 7.5rem;
  height: 1.28rem;
  /* background-color: aqua; */
  display: flex;
  justify-content: space-around;
  /* align-content: center; */
  line-height: 1.28rem;
  margin-top: 0.5rem
}
.toubu span{
  font-size: 0.34rem;
}
.xiagang{
  width: 0.4rem;
  height: 0.1rem;
  background: linear-gradient(to bottom right,rgb(241, 116, 143),rgb(155, 87, 201));
  margin-left: 1rem;
}

.van {
margin-top:0.2rem;
}

// *[title]{
//   font-size: 50px;
// }
// .box /deep/ .van-tab_text --ellipsis{
//   font-size: 50px;
//   overflow: none;
// }
// van-tabs__wrap *{
//   overflow: none;
// }
</style>
